/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2012-2021. All rights reserved.
 */

package org.opengauss.driver;

import java.util.Properties;

/**
 * description:this for IDriverInfo Interface
 * Copyright (c) Huawei Technologies Co., Ltd. 2012-2021.
 *
 * @author Administrator
 * @version [openGauss_debug 0.0.1 2021/4/23]
 * @since 2021/4/23
 */
public interface IDriverInfo extends Cloneable {
    String getFormatConnectionInfo();
    Properties getProperties();
    String getHosts();
    String getUser();
    String getPassword();
    String getDatabase();
    String getDriver();
    IDriverInfo clone() throws CloneNotSupportedException;
    void addProperties(String key, String value);
    void addJdbcProperties(String key, String value);
}
